package one.stand.request.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import one.stand.request.BaseRequest;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 文章访客详情查询
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value="VisitorsDetailQuery对象", description="文章访客详情查询")
public class VisitorsDetailQuery extends BaseRequest implements Serializable {

    @ApiModelProperty(name = "文章id",required = true)
    @NotNull(message = "文章不能为空")
    private Long dynamicId;
    /**
     * 类型 1:最新发布 2:获客最多
     */
    @ApiModelProperty(name = "类型 1:最新发布 2:获客最多")
    private Integer type;


}
